#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_ItemCard.nanopb.h"
#ifndef MAX_ITEMCARD_ITEMCARD_NUM
#define MAX_ITEMCARD_ITEMCARD_NUM 132
#endif

class EquipMagicCardDesc : public NFI_DESC_TEMPLATE_MACRO(EquipMagicCardDesc, E_EquipMagicCard, EOT_CONST_ITEMCARD_ITEMCARD_DESC_ID, MAX_ITEMCARD_ITEMCARD_NUM)
public:
	EquipMagicCardDesc();
	virtual ~EquipMagicCardDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
